
#import <UIKit/UIKit.h>


@interface UIViewController (UniqueHUD)

- (void)showUHint:(NSString *)tipString completion:(void(^)(void))completion;
- (void)showUHint:(NSString *)tipString inView:(UIView *)view completion:(void(^)(void))completion;
- (void)showUHint:(NSString *)tipString inView:(UIView *)view yOffset:(CGFloat)y completion:(void(^)(void))completion;


- (void)showHint:(NSString *)tipString completion:(void(^)(void))completion;
- (void)showHint:(NSString *)tipString inView:(UIView *)view completion:(void(^)(void))completion;
- (void)showHint:(NSString *)tipString inView:(UIView *)view yOffset:(CGFloat)y completion:(void(^)(void))completion;

@end

@interface UIViewController (Image)
- (void)showSuccessHint:(NSString *)tipString;
- (void)showSuccessHint:(NSString *)tipString completion:(void(^)(void))completion;
- (void)showSuccessHint:(NSString *)tipString inView:(UIView *)view completion:(void(^)(void))completion;
- (void)showSuccessHint:(NSString *)tipString inView:(UIView *)view yOffset:(CGFloat)y completion:(void(^)(void))completion;

- (void)showErrorHint:(NSString *)tipString;
- (void)showErrorHint:(NSString *)tipString completion:(void(^)(void))completion;
- (void)showErrorHint:(NSString *)tipString inView:(UIView *)view completion:(void(^)(void))completion;
- (void)showErrorHint:(NSString *)tipString inView:(UIView *)view yOffset:(CGFloat)y completion:(void(^)(void))completion;

@end

@interface UIViewController (Loading)
- (void)showLoadingHudWithHint:(NSString *)hint withBlock:(BOOL)block;
- (void)dismissLoadingHud;
@end

